API Manager API
Get environment API
If you want to get an API, you will have to look for the id first.
You can get all APIs with (take into account that this endpoint is paginated):
curl -X GET \
https://anypoint.mulesoft.com/apimanager/api/v1/organizations/:organizationId/environments/:environmentId/apis
-H 'authorization: Bearer valid-token\
That request supports query parameters such as:
- query: A string that will be checked for partial or similar matches of the name, description, label and tags
- groupId: A string that will be checked for an exact match of the groupId
- assetId: A string that will be checked for an exact match of the assetId
- assetVersion: A string that will be checked for an exact match of the assetVersion
- instanceLabel: A string that will be checked for an exact match of the instanceLabel
Search for your version and look at its id. Then you can get the API with
curl -X GET \
https://anypoint.mulesoft.com/apimanager/api/v1/organizations/:organizationId/environments/:environmentId/apis/:environmentApiId
-H 'authorization: Bearer valid-token \